#include <Debug/log.hpp>
using namespace demo::debug::log;

int main() {
  info("log test");

  println("println test, no args");
  println("hi I'm {00}, living in {}. I'm {} years old.", "name", "address",
          1000);
  trace("hi I'm { d}, living in {}. I'm {} years old.", "name", "address",
        1000);
  info("hi I'm { d}, living in {}. I'm {} years old.", "name", "address", 1000);
  debug("hi I'm {ab}, living in {}. I'm {} years old.", "name", "address",
        1000);
  warn("hi I'm { }, living in {}. I'm {} years old.", "name", "address", 1000);
  error("hi I'm {ab}, living in {}. I'm {} years old.", "name", "address",
        1000);

  LogLevel::set(3);
  println("LogLevel = {}", LogLevel::get());

  println("println test, no args");
  println("hi I'm {00}, living in {}. I'm {} years old.", "name", "address",
          1000);
  trace("hi I'm { d}, living in {}. I'm {} years old.", "name", "address",
        1000);
  info("hi I'm { d}, living in {}. I'm {} years old.", "name", "address", 1000);
  debug("hi I'm {ab}, living in {}. I'm {} years old.", "name", "address",
        1000);
  warn("hi I'm { }, living in {}. I'm {} years old.", "name", "address", 1000);
  error("hi I'm {ab}, living in {}. I'm {} years old.", "name", "address",
        1000);
  return 0;
}
